﻿create proc SelectSynonyms
@synonymIDs intlist readonly
as
select s.*
from Synonyms s
inner join @synonymIDs ids on s.ID = ids.value